package spring;

/**
 * @ProjectName: Spring
 * @Package: spring
 * @ClassName: BeanDefinitionHolder
 * @Author: zxh
 * @Description: 便于传参
 * @Date: 2022/3/10 14:17
 * @Version: 1.0
 */
public class BeanDefinitionHolder {

    private final BeanDefinition beanDefinition;

    private final String beanName;

    public BeanDefinitionHolder(BeanDefinition beanDefinition, String beanName) {
        this.beanDefinition = beanDefinition;
        this.beanName = beanName;
    }

    public BeanDefinition getBeanDefinition() {
        return beanDefinition;
    }

    public String getBeanName() {
        return beanName;
    }


}
